package test

import (
	"context"

	"go-weixin/app/usercenter/api/internal/svc"
	"go-weixin/app/usercenter/api/internal/types"

	"github.com/zeromicro/go-zero/core/logx"
)

type TestApiPutLogic struct {
	logx.Logger
	ctx    context.Context
	svcCtx *svc.ServiceContext
}

func NewTestApiPutLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TestApiPutLogic {
	return &TestApiPutLogic{
		Logger: logx.WithContext(ctx),
		ctx:    ctx,
		svcCtx: svcCtx,
	}
}

func (l *TestApiPutLogic) TestApiPut(req *types.TestReq) (resp *types.TestResp, err error) {
	// ctx, canelFunc := context.WithTimeout(context.Background(), 5*time.Second)
	// defer canelFunc()
	return
}
